﻿#ifndef POSTCOMMAND_CMDPOLARCOORDINATEGRAPHEXPORTMARKERDATA_H
#define POSTCOMMAND_CMDPOLARCOORDINATEGRAPHEXPORTMARKERDATA_H

#include "CommandManager/CommandBase.h"

namespace PostCommand
{
    /// @brief 后处理保存图像命令
    class CmdPolarCoordinateGraphExportMarkerData : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdPolarCoordinateGraphExportMarkerData();
        ~CmdPolarCoordinateGraphExportMarkerData();

        bool execute() override;
        void undo() override;
        void redo() override;

        void setPolarCoordinateGraphExportMarkerData(int mainWindowId, QString fileName);

    private:
        int m_mainWindowId;
        QString m_fileName;
    };
} // namespace PostCommand

#endif
